//获取应用实例
const app = getApp()

Page({
 
    /**
     * 页面的初始数据
     */
    data: {
      data_id : '0',
      pic1: '../images/you1.png' ,
      pic2: '../images/you1.png' ,
      pic3:'../images/you1.png'
     
    },

    /**
     * 生命周期函数--监听页面加载
     */
    onLoad: function () {
     
   
    },
 
    //弹出下拉
    onnmb:function (e){
      var that = this;
      var id = e.currentTarget.dataset.id;
      var uid = e.currentTarget.dataset.uid;
      // console.log(e);
      // console.log(that);

      // var pic = that._viewData__.pic_you
      

      if (id == uid) {
          id = uid;
      }else{
        id = 0;
      
      }
   
      that.setData({
        data_id: uid,
       
      });
      


    }
})
